﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Model
{
    public class ProductCol
    {
        List<Product> productList;

        public ProductCol()
        {
            productList = new List<Product>();
        }

        // Tilføj product
        public void AddProduct(Product p)
        {
            productList.Add(p);
        }

        // Returner liste:
        public List<Product> GetProductListe()
        {
            return productList;
        }
    }
}